package com.example.app.dao;

import com.example.app.model.Member;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by wangtao on 2018/6/6.
 */
@Repository
public interface MemberRepository extends JpaRepository<Member,Long> {
    Member findByPhone(String phone);
}
